(vc-backend-diff): Handle either string or list.
authorRichard M. Stallman <rms@gnu.org>
Sun, 9 May 1993 14:29:33 +0000 (14:29 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 9 May 1993 14:29:33 +0000 (14:29 +0000)
lisp/vc.el

index b76fc7de31de1e6f8ad4890ea7458548aa7e37b9..67c10a2713e45cd91b8db142e9b737b3afaa5c4a 100644 (file)
@@ -1487,7 +1487,9 @@ Return nil if there is no such person."
         file
         (and oldvers (concat "-r" oldvers))
         (and newvers (concat "-r" newvers))
-        diff-switches
+        (if (listp diff-switches)
+            diff-switches
+          (list diff-switches))
   ))
 
 (defun vc-check-headers ()